<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\EnGoodsProduct
 *
 * @property int $id
 * @property string|null $name 产品名称
 * @property string|null $ssn 产品编号
 * @property float $m_price 市场价
 * @property float $s_price 销售价
 * @property int $thumb_id 商品缩略图
 * @property string|null $desc 描述
 * @property string|null $content 内容
 * @property int $stock 商品库存
 * @property int $sale_count 销售数量
 * @property int $is_shop 是否上架
 * @property int $is_new 是否首页显示，0：否 1：是
 * @property int $classify_id 分类id
 * @property int $sort 商品排序，整数，数字越低排序越前
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\EnGoodsProduct onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereClassifyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereIsNew($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereIsShop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereMPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereSPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereSaleCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereSsn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\EnGoodsProduct whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\EnGoodsProduct withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\EnGoodsProduct withoutTrashed()
 * @mixin \Eloquent
 */
class EnGoodsProduct extends Model
{
    protected $table = "en_goods_product";
    use SoftDeletes;
}
